package com.dcits.idea.test;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;
import org.jetbrains.annotations.NotNull;


/**
 * @Author tangmqb DCITS
 * @DATE 2021/11/1 9:21
 * @Version 1.0.0
 */
public class ShowLatteDescription extends AnAction {
    @Override
    public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
        Project project = anActionEvent.getData(PlatformDataKeys.PROJECT);
        String titile = "标题";
        String msg = "2021,DCITS,起航";
        Messages.showMessageDialog(project,msg,titile,Messages.getInformationIcon());
    }
}
